package com.ruoyi.web.controller.wechatlogin;
 
 
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.platformusers.domain.PlatformUsers;
import com.ruoyi.platformusers.service.IPlatformUsersService;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.URL;
import java.net.URLConnection;
import java.util.*;

//import com.sun.org.apache.xerces.internal.impl.dv.util.Base64;

import org.apache.commons.codec.binary.Base64;
import springfox.documentation.spring.web.json.Json;

import javax.crypto.Cipher;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import java.security.AlgorithmParameters;
import java.security.Security;
 
 
/**
 * 微信小程序code换取微信用户信息
 * @author ban__dian
 *
 */
//@RestController
//@RequestMapping("/wechat/platformusers")
public class HomeController   extends BaseController {

 
 
 
}